#ifndef _PLAYER_H_
#define _PLAYER_H_

// Index
int calc_pLayerIndex(int c, int i);
int pLayerIndex(int i);
int inv_pLayerIndex(int i);

// Permutation
void permutate(int (*func)(int), unsigned char *dst);
void pLayer(unsigned char *state);
void inv_pLayer(unsigned char *state);

#endif
